/* Prints a table of square using a for statement */
#include <stdio.h>
int main(void)
{
    //int i;  // 46341
    //short i;  // 181
    long i;  // 3037000499
    long n;
    printf("This program prints a table of squares.\n");
    printf("Enter number of entries in table: ");
    scanf("%ld", &n);
    for (i = 3037000000; i <= n; i++) {
        printf("%20ld%30ld\n", i, i * i);
    }
    return 0;
}